package helpers;

import java.io.Serializable;

public class Card implements Serializable {

	private static final long serialVersionUID = 6982664945396002140L;

	private final Color c;
	private final Value v;

	public Card(Color c, Value v) {
		this.c = c;
		this.v = v;
	}

	public Color getC() {
		return c;
	}

	public Value getV() {
		return v;
	}

	@Override
	public String toString() {
		return "|" + v.toString() + " " + c.toString() + "|";
	}

}
